<template>
  <div>
      <h3>{{title}}分类</h3>
      <slot name="slot1">我是List插槽1的默认值</slot>
      <slot name="slot2">我是List插槽2的默认值</slot>
  </div>
</template>

<script>
export default {
    props:['title'],
    data(){
        return {
            
        }
    }
}
</script>

<style scoped>
 div{
     width: 200px;
     height: 300px;
     background-color:darksalmon;
 }
</style>